package jdk.dao.impl;

import jdk.dao.Act;
import jdk.dao.Person;

//演员类
public class Actor extends Person implements Act {

    private String type; //类型

    public Actor(String type) {
        this.type = type;
    }

    public Actor(String name, String type) {
        super(name);
        this.type = type;

    }

    @Override
    public void act() {
       /*
        System.out.println("跟导员谈档期...");
        System.out.println("跟导员谈片酬...");
        System.out.println("跟合作方谈广告合作...");
        */
        System.out.println(this.name + "正在出演" + this.type + "类型的影片...");
        /*
        System.out.println("谈出席首映仪式...");
        System.out.println("谈出席颁奖典礼....");*/
    }
}
